const http = require("./http");
class IndexHttp extends http{
  static getBannerHttp(){
    return this.request("/api/index/banner");
  }
  static getNewHttp(skip){
    return this.request(`/api/index/new?skip=${skip}&&limit=5`)
  }
  static getNewDetailHttp(id){
    return this.request(`/api/index/detail/${id}`);
  }
}
module.exports = IndexHttp;